package com.wgts.wgts.netmodle.resp;

import android.os.Parcel;
import android.os.Parcelable;

public class AdvertisingEntity implements Parcelable {

    public AdvertisingEntity(){}

    public String normalImg;

    public String bigImg;

    public String actionUrlType;

    public String actionUrl;

    protected AdvertisingEntity(Parcel in) {
        normalImg = in.readString();
        bigImg = in.readString();
        actionUrlType = in.readString();
        actionUrl = in.readString();
    }

    public static final Creator<AdvertisingEntity> CREATOR = new Creator<AdvertisingEntity>() {
        @Override
        public AdvertisingEntity createFromParcel(Parcel in) {
            return new AdvertisingEntity(in);
        }

        @Override
        public AdvertisingEntity[] newArray(int size) {
            return new AdvertisingEntity[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(normalImg);
        dest.writeString(bigImg);
        dest.writeString(actionUrlType);
        dest.writeString(actionUrl);
    }
}
